﻿using System;
using System.Collections.Generic;
using System.Text;
using System.Web.Security;

namespace DefectTracker.Common
{
    public class MembershipProviderSettings
    {
        private int m_MaxInvalidPasswordAttempts;

        public int MaxInvalidPasswordAttempts
        {
            get { return m_MaxInvalidPasswordAttempts; }
            set { m_MaxInvalidPasswordAttempts = value; }
        }
        private int m_MinRequiredNonAlphanumericCharacters;

        public int MinRequiredNonAlphanumericCharacters
        {
            get { return m_MinRequiredNonAlphanumericCharacters; }
            set { m_MinRequiredNonAlphanumericCharacters = value; }
        }

        private int m_MinRequiredPasswordLength;

        public int MinRequiredPasswordLength
        {
            get { return m_MinRequiredPasswordLength; }
            set { m_MinRequiredPasswordLength = value; }
        }

        private int m_PasswordAttemptWindow;

        public int PasswordAttemptWindow
        {
            get { return m_PasswordAttemptWindow; }
            set { m_PasswordAttemptWindow = value; }
        }

        private MembershipPasswordFormat m_PasswordFormat;

        public MembershipPasswordFormat PasswordFormat
        {
            get { return m_PasswordFormat; }
            set { m_PasswordFormat = value; }
        }

        private string m_PasswordStrengthRegularExpression;

        public string PasswordStrengthRegularExpression
        {
            get { return m_PasswordStrengthRegularExpression; }
            set { m_PasswordStrengthRegularExpression = value; }
        }

        private bool m_RequiresQuestionAndAnswer;

        public bool RequiresQuestionAndAnswer
        {
            get { return m_RequiresQuestionAndAnswer; }
            set { m_RequiresQuestionAndAnswer = value; }
        }

        private bool m_RequiresUniqueEmail;

        public bool RequiresUniqueEmail
        {
            get { return m_RequiresUniqueEmail; }
            set { m_RequiresUniqueEmail = value; }
        }

        private bool m_EnablePasswordReset;

        public bool EnablePasswordReset
        {
            get { return m_EnablePasswordReset; }
            set { m_EnablePasswordReset = value; }
        }

        private bool m_EnablePasswordRetrieval;

        public bool EnablePasswordRetrieval
        {
            get { return m_EnablePasswordRetrieval; }
            set { m_EnablePasswordRetrieval = value; }
        }
    }
}
